package com.an.homework;

public class HomeWork_4 {
    public static void main(String[] args) {
        A a = new A();
        a.b();
        C c = new C();
    }
}

class A{
    private String name="屠夫";
  public void b(){
      class B{
          private String name="李白";
          public void show(){
              System.out.println("name="+A.this.name);
          }
      }
      B b = new B();
      b.show();
  }
}

class C{
    {
        class D {
            private String name = "猪猪侠";

            public void show() {
                System.out.println("我是" + name);
            }
        }
        D d = new D();
        d.show();
    }
}
